home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
081-090
/
amok81
/
m2
/
demos
/
txt
/
helloworld.mod
< prev
next >
Wrap
Text File
|
1993-11-04
|
474b
|
29 lines
(*
* Das obligatorische, ultimative Programm...
* Diesmal etwas komplexer...
*)
MODULE HelloWorld;
FROM Hello IMPORT text, WriteWithIndent;
PROCEDURE TuEsJetzt;
VAR
i: CARDINAL;
BEGIN
FOR i:=1 TO 4 DO
WriteWithIndent(i+10,text);
END;
FOR i:=4 TO 1 BY -1 DO
WriteWithIndent(i+10,text);
END;
END TuEsJetzt;
BEGIN
WriteWithIndent(2,"(Modul HelloWorld startet.)");
TuEsJetzt;
CLOSE
WriteWithIndent(2,"(Modul HelloWorld endet.)");
END HelloWorld.